package com.lcf.system.entity;

import com.lcf.framework.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户与角色(SysUserRole)表实体类
 *
 * @author lcf
 * @since 2025-02-25 12:30:27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class SysUserRole extends BaseModel<SysUserRole> {
    //用户id
    private Long userId;
    //角色id
    private Long roleId;

    public SysUserRole(long userId, long roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
}

